package com.nz2004.smsplatform.interfaces.service.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;


import java.util.Map;

/**
 * @author ReJoice
 */
@FeignClient(value = "SMS-PLATFORM-CACHE")
public interface CacheService {

//    @RequestMapping(value = "/cache/hmget/{key}", method = RequestMethod.GET)
    @GetMapping(value = "/cache/hmget/{key}")
    Map hMGet(@PathVariable("key") String key);


}